/**
 * <P>Title:MainHomeActivity.java</p>
 * <p>Discription:</p>
 * <p>date2012-11-10
 */
package com.demo.tab;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 *
 */
public class MainHomeActivity extends Activity{
	private TextView contentText;
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_home);
		Intent intent = this.getIntent();
		String text = intent.getStringExtra("text");
		System.out.println(text);
		contentText = (TextView) this.findViewById(R.id.t1);
		contentText.setText(text);
	}
}
